Optimal. Leaf size=73 \[ \frac {(a+x (b+c)) \log ^3(a+x (b+c))}{b+c}-\frac {3 (a+x (b+c)) \log ^2(a+x (b+c))}{b+c}+\frac {6 (a+x (b+c)) \log (a+x (b+c))}{b+c}-6 x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {2444, 2389, 2296, 2295} \[ \frac {(a+x (b+c)) \log ^3(a+x (b+c))}{b+c}-\frac {3 (a+x (b+c)) \log ^2(a+x (b+c))}{b+c}+\frac {6 (a+x (b+c)) \log (a+x (b+c))}{b+c}-6 x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2295
Rule 2296
Rule 2389
Rule 2444
Rubi steps
\begin {align*} \int \log ^3(a+b x+c x) \, dx &=\int \log ^3(a+(b+c) x) \, dx\\ &=\frac {\operatorname {Subst}\left (\int \log ^3(x) \, dx,x,a+(b+c) x\right )}{b+c}\\ &=\frac {(a+(b+c) x) \log ^3(a+(b+c) x)}{b+c}-\frac {3 \operatorname {Subst}\left (\int \log ^2(x) \, dx,x,a+(b+c) x\right )}{b+c}\\ &=-\frac {3 (a+(b+c) x) \log ^2(a+(b+c) x)}{b+c}+\frac {(a+(b+c) x) \log ^3(a+(b+c) x)}{b+c}+\frac {6 \operatorname {Subst}(\int \log (x) \, dx,x,a+(b+c) x)}{b+c}\\ &=-6 x+\frac {6 (a+(b+c) x) \log (a+(b+c) x)}{b+c}-\frac {3 (a+(b+c) x) \log ^2(a+(b+c) x)}{b+c}+\frac {(a+(b+c) x) \log ^3(a+(b+c) x)}{b+c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 67, normalized size = 0.92 \[ \frac {(a+x (b+c)) \log ^3(a+x (b+c))-3 (a+x (b+c)) \log ^2(a+x (b+c))+6 (a+x (b+c)) \log (a+x (b+c))-6 x (b+c)}{b+c} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.59, size = 67, normalized size = 0.92 \[ \frac {{\left ({\left (b + c\right )} x + a\right )} \log \left ({\left (b + c\right )} x + a\right )^{3} - 3 \, {\left ({\left (b + c\right )} x + a\right )} \log \left ({\left (b + c\right )} x + a\right )^{2} - 6 \, {\left (b + c\right )} x + 6 \, {\left ({\left (b + c\right )} x + a\right )} \log \left ({\left (b + c\right )} x + a\right )}{b + c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 91, normalized size = 1.25 \[ \frac {{\left (b x + c x + a\right )} \log \left (b x + c x + a\right )^{3}}{b + c} - \frac {3 \, {\left (b x + c x + a\right )} \log \left (b x + c x + a\right )^{2}}{b + c} + \frac {6 \, {\left (b x + c x + a\right )} \log \left (b x + c x + a\right )}{b + c} - \frac {6 \, {\left (b x + c x + a\right )}}{b + c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.04, size = 187, normalized size = 2.56 \[ \frac {b x \ln \left (a +\left (b +c \right ) x \right )^{3}}{b +c}+\frac {c x \ln \left (a +\left (b +c \right ) x \right )^{3}}{b +c}+\frac {a \ln \left (a +\left (b +c \right ) x \right )^{3}}{b +c}-\frac {3 b x \ln \left (a +\left (b +c \right ) x \right )^{2}}{b +c}-\frac {3 c x \ln \left (a +\left (b +c \right ) x \right )^{2}}{b +c}-\frac {3 a \ln \left (a +\left (b +c \right ) x \right )^{2}}{b +c}+\frac {6 b x \ln \left (a +\left (b +c \right ) x \right )}{b +c}+\frac {6 c x \ln \left (a +\left (b +c \right ) x \right )}{b +c}+\frac {6 a \ln \left (a +\left (b +c \right ) x \right )}{b +c}-\frac {6 b x}{b +c}-\frac {6 c x}{b +c}-\frac {6 a}{b +c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.61, size = 51, normalized size = 0.70 \[ \frac {{\left (\log \left (b x + c x + a\right )^{3} - 3 \, \log \left (b x + c x + a\right )^{2} + 6 \, \log \left (b x + c x + a\right ) - 6\right )} {\left (b x + c x + a\right )}}{b + c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.37, size = 138, normalized size = 1.89 \[ \frac {6\,a\,\ln \left (a+b\,x+c\,x\right )-6\,c\,x-6\,b\,x-3\,a\,{\ln \left (a+b\,x+c\,x\right )}^2+a\,{\ln \left (a+b\,x+c\,x\right )}^3-3\,b\,x\,{\ln \left (a+b\,x+c\,x\right )}^2+b\,x\,{\ln \left (a+b\,x+c\,x\right )}^3-3\,c\,x\,{\ln \left (a+b\,x+c\,x\right )}^2+c\,x\,{\ln \left (a+b\,x+c\,x\right )}^3+6\,b\,x\,\ln \left (a+b\,x+c\,x\right )+6\,c\,x\,\ln \left (a+b\,x+c\,x\right )}{b+c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.65, size = 95, normalized size = 1.30 \[ 6 x \log {\left (a + b x + c x \right )} + \left (- 6 b - 6 c\right ) \left (- \frac {a \log {\left (a + x \left (b + c\right ) \right )}}{\left (b + c\right )^{2}} + \frac {x}{b + c}\right ) + \frac {\left (- 3 a - 3 b x - 3 c x\right ) \log {\left (a + b x + c x \right )}^{2}}{b + c} + \frac {\left (a + b x + c x\right ) \log {\left (a + b x + c x \right )}^{3}}{b + c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________